#include <iostream>
#include <sstream>
#include <vector>
>>>>>>> refs/remotes/origin/master
using namespace std;

int main(int argc, char * argv[])
{
    setName("checker for National Day Calculation");
    registerTestlibCmd(argc, argv);
<<<<<<< HEAD
    
    string output = ans.readToken();
    while (!ans.seekEof()) {
        string contestant_output = ouf.readToken();
        if (output != contestant_output) {
            quitf(_wa, "expected %s, found %s", output.c_str(), contestant_output.c_str());
        }
        output = ans.readToken();
    }
    
    if (!ouf.seekEof()) {
        quitf(_wa, "extra tokens in the output");
    }
    
    quitf(_ok, "correct output");
    quitf(_ok, "答案正确");
>>>>>>> refs/remotes/origin/master
}
#include "testlib.h"

int main(int argc, char * argv[])
{
    setName("checker for National Day Calculation");
    registerTestlibCmd(argc, argv);

    int expected = ans.readInt();
    int found = ouf.readInt();

    if (expected != found)
        quitf(_wa, "expected %d, found %d", expected, found);
    
    if (!ans.seekEof()) 
        quitf(_wa, "extra tokens in the answer file");

    if (!ouf.seekEof()) 
        quitf(_wa, "extra tokens in the output");

    quitf(_ok, "answer is %d", expected);
}
=======
#include <iostream>
#include <sstream>
#include <vector>
>>>>>>> refs/remotes/origin/master
using namespace std;

int main(int argc, char * argv[])
{
    setName("checker for National Day Calculation");
    registerTestlibCmd(argc, argv);
<<<<<<< HEAD
    
    string output = ans.readToken();
    while (!ans.seekEof()) {
        string contestant_output = ouf.readToken();
        if (output != contestant_output) {
            quitf(_wa, "expected %s, found %s", output.c_str(), contestant_output.c_str());
        }
        output = ans.readToken();
    }
    
    if (!ouf.seekEof()) {
        quitf(_wa, "extra tokens in the output");
    }
    
    quitf(_ok, "correct output");
=======
    quitf(_ok, "答案正确");
>>>>>>> refs/remotes/origin/master
}